
<?php
    echo $this->headLink();
    foreach ($this->all as $tin) { 
        
        ?>
<div class="khungbao" thin solid>
    <div class="xemthem"><a href="<?php echo HOST_PATH; ?>/index/viewnews/idtin/<?php echo $tin['idtin'];?>"><img alt="" src="<?php echo HOST_PATH;?>/public<?php echo $tin['urlhinh'];?>"/></a></div>
    <div class="tieude"><a href="<?php echo HOST_PATH; ?>/index/viewnews/idtin/<?php echo $tin['idtin'];?>"><?php echo $tin['tieude'];?></a></div>
    <div class="tomtat"><?php echo $tin['tomtat'];?></div>
    
</div>
    <?php }?>
<div style='clear:both; text-align:center; '>
	<?php
		echo $this->paginationControl($this->all,'Sliding','controlsearch.phtml',array('search' => $this->search));
	?>
</div>